package com.budwk.app.sqfwDoc.codeGeneratorV2.fileParam;

import com.budwk.app.sqfwDoc.bo.ExcelCreateConfig;
import com.budwk.app.sqfwDoc.codeGeneratorV2.constants.CodeGeneratorConstants;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.google.common.collect.Maps;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author ZY.Wang
 * @since 2024/1/25
 */
@Data
public class ExcelGenerateParam {

    @ApiModelProperty(description = "excel生成的配置")
    private ExcelCreateConfig excelConfig;

    @ApiModelProperty(description = "自定义字段")
    List<ExcelRowDataParam> dataList;

    @ApiModelProperty(description = "创建人信息")
    private CommonParam downloadUserParam;

    @ApiModelProperty(description = "可自定义的参数map")
    private Map<String, Object> customerParamMap = Maps.newHashMap();

    /**
     * 参照{@link CodeGeneratorConstants}
     */
    @ApiModelProperty(description = "客户端类型")
    private String clientType = CodeGeneratorConstants.CLIENT_TYPE_APP;
}
